﻿package fj.utils
{
	public class FJMath
	{
		public static function distance( x1:Number, y1:Number, x2:Number, y2:Number ):Number
		{
			var dX:Number = x2 - x1;
			var dY:Number = y2 - y1;
			return Math.sqrt(dX*dX + dY*dY);
		}
	}
}